-
-
Notifications
You must be signed in to change notification settings - Fork 195
[sungjinwi] Week 08 solution #1511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@sungjinwi 아직 solving상태로 확인되고있어서 리뷰가능한 상태이면 코멘트 부탁드립니다. |
@hsskey 이미 푼 문제만 리뷰 부탁드려도 될까요? 감사합니다! |
} | ||
return ans; | ||
} | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
슬라이딩 윈도우 내 maxCnt가 고정이라, left 증가 후에도 갱신되지 않는 점은 약간의 정밀도 손해가 있을 수 있어요.
윈도우가 수축된 이후 실제 최대 빈도 문자를 다시 계산해보는 것도 고려해볼 수 있을 것 같아요.
물론 시간복잡도 상 이점과의 균형을 고려한 선택이라면 현재 방식도 타당합니다 :)
@sungjinwi 수고 많으셨습니다. 코멘트 확인 후 리뷰 완료하였습니다. 작은 부분이지만, 다음부터는 꼭 참고 부탁드립니다. |
@hsskey 매주 미루고 미루다 뒤늦게 과제를 완료하는게 습관이 됐었는데 리뷰하시는 분의 입장에서 솔직하게 말씀해주셔서 감사합니다 |
답안 제출 문제
작성자 체크 리스트
In Review
로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!